
<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta charset="utf-8" />
	<title>活动分类管理</title>

     [#include "/admin/common/commonurl.html"]
     <style type="text/css">
     .titleinfo{
     width: 60px;
     }
     </style>
</head>

<body class="no-skin">
<div id="navbar" class="navbar navbar-default">
<script type="text/javascript">
	try{ace.settings.check('navbar' , 'fixed')}catch(e){}
</script>

[#include "/admin/common/navbar.html"]

<!-- /.navbar-container -->
</div>

<div class="main-container" id="main-container">
<script type="text/javascript">
	try{ace.settings.check('main-container' , 'fixed')}catch(e){}
</script>

<div id="sidebar" class="sidebar                  responsive">
<script type="text/javascript">
	try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
</script>
[#include "/admin/common/shortcuts.html"]
<!-- /.sidebar-shortcuts -->

<!-- .nav-list -->
					[#include "/admin/common/commonmenu.html"]
                      	<ul class="nav nav-list">
                      	[@menustag id=1]
						[#list list as item]
					     [@menu item "1,45,46"]
					     [/@menu]
					     [/#list]
					     [/@menustag]
					     </ul>
<!-- /.nav-list -->

<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
	<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
</div>

<script type="text/javascript">
	try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
</script>
</div>

<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
		</script>

		<ul class="breadcrumb">
			<li>
				<i class="ace-icon fa fa-home home-icon"></i>
				<a href="#">首页</a>
			</li>

			<li class="active">欢迎光临</li>
		</ul><!-- /.breadcrumb -->

		<div class="nav-search" id="nav-search">
			<form class="form-search">
							<span class="input-icon">
								<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
								<i class="ace-icon fa fa-search nav-search-icon"></i>
							</span>
			</form>
		</div><!-- /.nav-search -->
	</div>


	
				<div class="page-content">
				
				       [#include "/admin/common/settings.html"]
						[#if courseitem.parent??]
						<h1>
							<a href="${siteurl}/admin/eventinfocategory/list.htm?id=${courseitem.parent.id}">${courseitem.name}:返回上一级</a>
						</h1>
						[/#if]
					<div class="col-xs-4  no-padding">
						<div class="widget-box collapsed">
							<div class="widget-header">
								<h4 class="widget-title">添加活动分类</h4>
					
								<div class="widget-toolbar">
									<a data-action="collapse" href="#">
										<i class="ace-icon fa fa-chevron-down"></i>
									</a>
								</div>
							</div>
					
							<div class="widget-body">
								<div class="widget-main">
									<form class="form-inline" role="form" action="${siteurl}/admin/eventinfocategory/model_add.htm" method="post">
									  <input type="hidden" name="parent.id" value="${id}">
					                  <input type="hidden" name="priority" value="1">
					                  <input type="hidden" name="id" value="${id}">
									<div>
										<label class="control-label no-padding-right titleinfo" for="name">分类名</label>
					                  <input class="form-control" type="text" placeholder="分类名" name="name" id="name">
									</div>
					
									<hr>
					
						      		<div   >
						      		
						      		<label  for="control-label no-padding-right"  for="form-field-11"  style="width: 60px;"> 排序号</label>
						             <input  class="form-control"  type="text" name="sortnum" value="0">
						           </div>
						           <hr>
						            <div > 
						       <button type="submit" class="btn btn-info">添加</button>
						       </div>
									</form>
								</div>
							</div>
						</div>
					</div>
					<!-- /.page-header -->
					<div class="row">
						<div class="col-xs-12">
							<div class="table-responsive">
								<table class="table table-striped table-bordered table-hover">
									<tr>
										<td class="col-xs-8">标题</td>
										<td class="col-xs-2 text-center">推荐图片</td>
										<td class="col-xs-2 text-center">操作</td>
									</tr>
									[#list list as item]
									<tr id="trr${item.id}">
										<td>${item.name!""}</td>
										<td class="text-center">${item.name!""}</td>
										<td class="text-center">
											<div
												class="visible-md visible-lg hidden-sm hidden-xs btn-group">

												<a
													href="${siteurl}/admin/eventinfocategory/list.htm?id=${item.id}">
													<button class="btn btn-xs btn-info">
														<i class="icon-edit bigger-120">查看子菜单</i>
													</button>
												</a> <a 
													href="${siteurl}/admin/eventinfocategory/model_delete.htm?typeid=${item.id}">
													<button class="btn btn-xs btn-danger">
														<i class="icon-trash bigger-120">删除</i>
													</button>
												</a>
											</div>
										</td>
									</tr>
									[/#list]
								</table>
							</div>
	
	
						</div>
					</div>


				</div>
</div><!-- /.main-content -->

     [#include "/admin/common/footer.html"]

</div><!-- /.main-container -->

<!-- basic scripts -->

     [#include "/admin/common/scripts.html"]

<!-- inline scripts related to this page -->
</body>
</html>
